﻿using LdtDataEngin.ModuleDetail.BaseModule;
using LdtJudge.DataEngine.Common.CommHelp;
using LdtJudge.DataEngine.DataBaseStores;
using LdtJudge.DataEngine.Model.XMLConfigModel.DataSave;
using System.Diagnostics;
using System.Xml;

namespace LdtDataEngin.ModuleDetail.AnalysisModule.AnalysisDataSave
{
    /// <summary>
    /// 案件分析数据保存模块
    /// 输入信息：分析卷宗内容===>DataContext.DataLayerAns.Shujuneirong
    /// </summary>
    public class AnalysisDataSaveAsseml: AssermBase
    {
        public AnalysisDataSaveAsseml(DataContext context,string moudleName)
        {
            dataContext = context;
            base.MoudleName = moudleName;   
        }
        public XmlDocument xmlDocument { get; set; }
        public ReorderModel reorderModel { get; set; }

        public void DataSave()
        {
            //保存实体数据
            AnalysisDataControl analysisDataControl = new AnalysisDataControl(dataContext);
            analysisDataControl.SaveData(1);
        }
    }
}
